package com.spa.application.command.admin;

import lombok.Data;

import javax.validation.constraints.NotBlank;
import java.util.List;

/**
 * 角色更新权限.
 *
 * @author liangjun
 */
@Data
public class ResourceUpdateForRoleCommand {

    @NotBlank(message = "角色id不能为空")
    private String id;

    private List<String> newPermission;

}
